package com.edu.study.base.StuQuestionPaper.mapper;

import java.util.List;
import com.edu.study.base.StuQuestionPaper.domain.StuQuestionPaper;

/**
 * 题卷Mapper接口
 * 
 * @author jjt
 * @date 2021-05-20
 */
public interface StuQuestionPaperMapper 
{
    /**
     * 查询题卷
     * 
     * @param id 题卷ID
     * @return 题卷
     */
    public StuQuestionPaper selectStuQuestionPaperById(Long id);

    /**
     * 查询题卷列表
     * 
     * @param stuQuestionPaper 题卷
     * @return 题卷集合
     */
    public List<StuQuestionPaper> selectStuQuestionPaperList(StuQuestionPaper stuQuestionPaper);

    /**
     * 新增题卷
     * 
     * @param stuQuestionPaper 题卷
     * @return 结果
     */
    public int insertStuQuestionPaper(StuQuestionPaper stuQuestionPaper);

    /**
     * 修改题卷
     * 
     * @param stuQuestionPaper 题卷
     * @return 结果
     */
    public int updateStuQuestionPaper(StuQuestionPaper stuQuestionPaper);

    /**
     * 删除题卷
     * 
     * @param id 题卷ID
     * @return 结果
     */
    public int deleteStuQuestionPaperById(Long id);

    /**
     * 批量删除题卷
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteStuQuestionPaperByIds(Long[] ids);
}
